home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_hylafax.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
faxcron.Z
/
faxcron
Wrap
Text File
|
2002-07-08
|
4KB
|
107 lines
FAXCRON(${MANNUM1_8}) FAXCRON(${MANNUM1_8})
NNAAMMEE
faxcron - _H_y_l_a_F_A_X routine maintenance script
SSYYNNOOPPSSIISS
$${{SSBBIINN}}//ffaaxxccrroonn [ --nn ] [ --ll _l_a_s_t_r_u_n ]
DDEESSCCRRIIPPTTIIOONN
ffaaxxccrroonn is a command script that does routine upkeep tasks
in a _H_y_l_a_F_A_X spooling directory hierarchy. This script is
intended to be invoked from _c_r_o_n(${MANNUM1_8}) on behalf
of the fax user once a day, with the standard output sent
by mail to the _H_y_l_a_F_A_X administrator. For example, the
following crontab might be setup for the fax user:
25 23 * * * sh ${SBIN}/faxcron | mail FaxMaster
The _f_a_x_c_r_o_n script does the following work:
report statistics for facsimile transmitted since the
last time _f_a_x_c_r_o_n was run.
report statistics for facsimile transmitted in the past
week.
report statistics for facsimile received since the last
time _f_a_x_c_r_o_n was run.
report statistics for facsimile received in the past
week.
report any recent calls that failed suspiciously and
return the associated trace log;
purge data that is 30 days or older from the remote
machine information directory;
delete information that is 30 days or older from ses
sion trace log files;
remove files from the tmp directory that are older than
1 day;
remove received facsimile that are 7 days or older;
report sites that are currently having jobs rejected;
and
force all session log files to be owned by the fax user
and kept with protection mode 644.
OOPPTTIIOONNSS
--nn Forces _f_a_x_c_r_o_n to run without updating any
files.
--ll _l_a_s_t_r_u_n
Forces the notion of the last time that _f_a_x_c_r_o_n
was run to be _l_a_s_t_r_u_n. The value of _l_a_s_t_r_u_n is
a date and time string of the form ``MM/DD/YY
HH:MM'' (the _d_a_t_e(1) format string ``%D
%H:%M'').
--iinnffoo _n Set the expiration time for data in the info
database to be _n days.
--lloogg _n Set the expiration time for session log data to
be _n days.
--rrccvv _n Set the expiration time for files in the
received facsimile queue to be _n days.
--ttmmpp _n Set the expiration time for files in the tmp
directory to be _n days.
--mmooddee _m Set the file protection mode for session logs to
_m (a command line argument to _c_h_m_o_d(1)).
NNOOTTEESS
This script requires _n_a_w_k(1) or _g_a_w_k(1) and a _d_a_t_e _(_1_)
program that supports the ``+format'' option.
If session logs are to be kept private this script must be
modified to filter out sensitive information such as call
ing card numbers. (It should also be run with ``-mode
0600'' so that session log files are not publicly read
able.)
FFIILLEESS
${SPOOL} spooling area
${SPOOL}/etc/lastrun timestamp of last run
${SBIN}/xferfaxstats for generating transmit statistics
${SBIN}/recvstats for generating receive statistics
${SPOOL}/tmp/faxcronXXXX temporary file for truncating session logs
${SPOOL}/tmp/faxlogXXXX temporary file for logs of failed calls
SSEEEE AALLSSOO
_c_r_o_n(${MANNUM1_8}), _f_a_x_q(${MANNUM1_8}), _f_a_x_g_e_t_t_y(${MAN
NUM1_8}), _f_a_x_s_e_n_d(${MANNUM1_8}), _x_f_e_r_f_a_x_s_t_a_t_s(${MAN
NUM1_8}), _r_e_c_v_s_t_a_t_s(${MANNUM1_8}), _h_y_l_a_f_a_x_-_s_e_r_v_e_r(${MAN
NUM4_5})
May 12, 1996 FAXCRON(${MANNUM1_8})